package com.itany.mapper;

import com.itany.pojo.Book;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2019-09-18 下午2:37
 * Description：<描述>
 */
public interface BookMapper {

   List<Book> selectAll(Book book);

   void insertBook(Book book);

    Book selectByName(String bookName);

    void updateStatusEnable(Book book);

    void updateStatusDisable(Book book);

    void updateBook(Book book);

    Book selectById(Integer id);
}
